<?php
include_once("../includes/page_utf_class.php");
include_once("../module/product/includes/plugin_delay_order_class.php");
include_once("../module/product/includes/plugin_order_class.php");
include("../lang/cn/company_type_config.php");
include_once WEBROOT.'/module/inventory/config.inc.php';
$order = new order;
$delayOrder = new delayOrder;
$de = $delayOrder->get_order_list();
foreach((array)$de['list'] as $k=>$val)
{
	$de['list'][$k]['order_ship_status']=$order_ship_status[$val['status']-1];
	$de['list'][$k]['inventory_status']=$order->get_inventory_status($val['order_id'])?0:1;
}
//----------------------分仓
$general_shop =$order->get_general_shop();
$stock_shops=$order->get_stock_shops();
$tpl->assign("stock_shops",$stock_shops);
$tpl->assign("general_shop",$general_shop);
//-----------------------------
$tpl->assign("order_shop_status",$order_shop_status);
$tpl->assign("de",$de);
$tpl->assign("config",$config);
$tpl->display("order_delay_list.htm");
?>